// 引入iconfont
import '@/IconFont/iconfont.js'
import '@/IconFont/icon.css'
// 全局引入 FontAwesome
import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
// 按需引入字体图标
// https://fontawesome.com/icons?d=gallery
import {
  faUserSecret,
  faComment,
  faChalkboardTeacher,
  faHome,
  faMortarPestle,
  faFemale,
  faQuidditch,
  faDesktop,
  faExpand,
  faHandHoldingWater,
  faSearch,
  faTools,
  faUniversalAccess,
  faHeadphonesAlt,
  faPaperPlane,
  faChevronLeft,
  faHeart,
  faCropAlt,
  faChevronRight,
  faCalendarAlt
} from '@fortawesome/free-solid-svg-icons'

// 挂载指定的字体图标
library.add(faUserSecret)
library.add(faComment)
library.add(faChalkboardTeacher)
library.add(faHome)
library.add(faMortarPestle)
library.add(faFemale)
library.add(faQuidditch)
library.add(faDesktop)
library.add(faExpand)
library.add(faHandHoldingWater)
library.add(faSearch)
library.add(faTools)
library.add(faUniversalAccess)
library.add(faHeadphonesAlt)
library.add(faPaperPlane)
library.add(faChevronLeft)
library.add(faHeart)
library.add(faCropAlt)
library.add(faChevronRight)
library.add(faCalendarAlt)
export default FontAwesomeIcon
